package practice02;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice02
 * @ClassName: AnimalTest
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:09
 * @Copyright 大牛版板所有
 */
public class AnimalTest {
    public static void main(String[] args) {
        Rabbit rab = new Rabbit("小白",3,"雌性","白色");
        rab.sleep();
        rab.eat();


        Tiger tiger = new Tiger("小虎",5,"雄性");
        tiger.sleep();
        tiger.eat();
    }

}
